package me.eleme.anubis.openapi.config.oauth.response;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * @author liuzhiyong
 */
public class ErrorResponse<T> implements Serializable {

    private static final long serialVersionUID = 1519215431146360108L;

    @JSONField(name = "code")
    private String code;

    @JSONField(name = "msg")
    private String msg;

    @JSONField(name = "sign")
    private String sign;


    @JSONField(name = "business_data")
    private T businessData;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public T getBusinessData() {
        return businessData;
    }

    public void setBusinessData(T businessData) {
        this.businessData = businessData;
    }
}
